package com.minimalist.application;

import org.apache.rocketmq.spring.autoconfigure.RocketMQAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.ImportResource;

/**
 * @author 11987
 */
@MapperScan("com.minimalist.**.mapper")
@SpringBootApplication(scanBasePackages = {"com.minimalist.*"})
@ImportResource("classpath:applicationContext.xml")
@Import(RocketMQAutoConfiguration.class)
public class MinimalistBasicApplication {

    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(
                MinimalistBasicApplication.class);
        application.setBannerMode(Banner.Mode.OFF);
        application.run(args);
    }
}
